package Sort;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        int [] array = {4,3,5,4,1};
        //Sort.insertSort(array);
        //Sort.shellSort(array);
        System.out.println("排序前"+Arrays.toString(array));
        //Sort.SelectSort(array);
        //Sort.heapSort(array);
        //Sort.bubbleSort(array);
        //Sort.quickSort(array);
        Sort.mergeSort(array);
        System.out.println("排序后"+Arrays.toString(array));
    }
}
